package com.kangfu.api.service;

import com.kangfu.db.model.request.MessageRequest;
import com.kangfu.db.model.vo.MessageInfoVo;
import com.kangfu.db.model.vo.MessageVo;

import java.util.List;

public interface IMessageService {

    public List<MessageVo> getMessageList(int userId, int page);

    public MessageInfoVo getMessageInfo(int userId, int doctorId, int page, int lastId);

    public void addMessage(int userId, MessageRequest messageRequest);
}
